home *** CD-ROM | disk | FTP | other *** search
/ MacWorld 1999 January - Disc 2 / Macworld (1999-01) (Disk 2).dmg / Serious Demos / Symbolic Composer 4.2 / Environment / Projects / Questions & Answers / Q&A Programming Functions / How to access section slots? < prev    next >
Encoding:
Text File  |  1998-10-26  |  472 b   |  15 lines  |  [TEXT/ScoM]

  1. HOW TO ACCESS SECTIONS
  2.  
  3. >I want to do the same for sections but I have no idea about the SCOM 
  4. >section data structure. I have not found any class of type section or 
  5. >similar and some slots to access. 
  6. >If I use def-section sect1.... How can I access the data of section sect1?
  7.  
  8. Try these
  9.  
  10. (get-value-or-default ind instr part)
  11. (get-value-or-default 'length 'bass 'sect1)
  12.  
  13. (get 'section-instruments 'sect1) returns a list of instruments
  14. that are defined for the section.
  15.